package apollo;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableApolloConfig
public class CatConfig {
    @Bean
    public ConfigBean javaConfigBean() {
        return new ConfigBean();
    }


    @Bean
    public MysqlConfig MysqlConfig() {
        return new MysqlConfig();
    }

}


